import Vue from 'vue'
import App from './App'
import store from './store'
import Cache from './utils/cache' 
Vue.prototype.$Cache = Cache; 
 import util from 'utils/util' 
 Vue.prototype.$utils = util;
Vue.config.productionTip = false 
App.mpType = 'app' 
//ui框架
import uView from "uview-ui";
Vue.use(uView);
//小程序分享的mixin和头底封装
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
Vue.mixin(mpShare)
import MyPage from 'components/MyPage.vue';
import MyBtn from "components/MyBtn.vue"; 
Vue.component('MyPage',MyPage);
Vue.component('MyBtn',MyBtn);
//会员图标
import VipIcon from "components/VipIcon.vue"; 
Vue.component('VipIcon',VipIcon);

const app = new Vue({
    ...App,
	store,
	Cache,
})
app.$mount()
